package com.whsxt.controller;


import java.util.List;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.alibaba.dubbo.config.annotation.Reference;
import com.whsxt.domain.BillType;
import com.whsxt.service.IBillTypeService;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author 贺炯
 * @since 2019-09-18
 */
@RestController
@RequestMapping("/sys/bill-type")
public class BillTypeController {
	
	//@Autowired
	@Reference
	private IBillTypeService billTypeService;
	
	@RequestMapping("/type")
	public Object getType() {
		List<BillType> list = billTypeService.list();
		return list;
	}
}

